package com.bw.mvvm_common.mvvm.viewmodel;

import com.bw.mvvm_common.entity.BaseEntity;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;
import io.reactivex.Observer;

public interface IViewModel extends LifecycleObserver {

    @OnLifecycleEvent(value = Lifecycle.Event.ON_CREATE)
    void onCreate();

    @OnLifecycleEvent(value = Lifecycle.Event.ON_DESTROY)
    void onDestroy();

}
